package com.eight.paper.admin.domain.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 用户信息
 *
 * @author 爱考线上考试系统
 * @date 2023-10-04
 */
@Data
public class UserInfo {

    @NotBlank(message = "用户id不能为空")
    private Integer userId;

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("真实姓名")
    private String nickName;
}
